<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
     <link rel="stylesheet" type="text/css" href="/common/css/hot_page/friend.css" />
	<link rel="stylesheet" type="text/css" href="/common/bootstrap/css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="/common/zui/css/zui.css" />
	<script type="text/javascript" src="/common/js/jQuery-3.3.1.js"></script>
	<script type="text/javascript" src="/common/zui/js/zui.min.js"></script>
	<script type="text/javascript" src="/common/bootstrap/js/bootstrap.min.js"></script>
<title>热门界面</title>
</head>
<script type="text/javascript">
			$(document).ready(function() {
				//左边标签选中事件
				$(".lev_Box").on("click",function(){
					$(".lev_Box").removeClass("lev_active");
					$(this).addClass("lev_active");
				})
			})
		</script>

	<body>
		<div class="WB_body">
			<div class="WB_main">
				<div class="plc_top">
					<div class="WB_global_nav">
						<div class="gn_header clearfix">
							<div class="row">
								<div class="col-md-6">
									<div class="gn_logo">
										<a class="box" href="#">
											<img src="/common/img/xiuli/topimg/WB_logo.png" />
										</a>
									</div>
									<div class="gn_search_v2">
										<input class="W_input" type="text" placeholder="新昌救援队员不幸落水遇难" value="" />
										<a class=".ficon_search" href="#"><i class="icon icon-search "></i></a>
										<div class="gn_topmenulist_search" style="">

										</div>
									</div>
								</div>
								<div class="col-md-4">
									<div class="gn_nav">
										<ul class="gn_nav_list">
											<li>
												<a class="S_txt1" href="#">
													<i class="icon icon-home"></i>
													<span>首页</span>
												</a>
											</li>
											<li>
												<a class="S_txt1" href="#">
													<i class="icon icon-camera-retro"></i>
													<span>视频</span>
												</a>
											</li>
											<li>
												<a class="S_txt1" href="#">
													<i class="icon icon-eye-open"></i>
													<span>发现</span>
												</a>
											</li>
											<li>
												<a class="S_txt1" href="#">
													<i class="icon icon-gamepad"></i>
													<span>游戏</span>
												</a>
											</li>
										</ul>
									</div>
								</div>
								<div class="col-md-2">
									<ul class="gn_login_list">
										<c:choose>
									<c:when test="${empty user }">
										<li>
											<a href="#" class="S_txt1">注册</a>
										</li>
										<li class="W_vline S_line1"></li>
										<li>
											<a node-type="loginBtn" href="#" class="S_txt1">登录</a>
										</li></c:when>
										<c:otherwise>
										<li>
												<a class="S_txt1" href="/Homepage/showHomePage?userId=${user.userId }">
													<i class="layui-icon layui-icon-username" style="display: inline;"></i>
													<span>${user.userName }</span>
												</a>
										</li>
										<li class="W_vline S_line1"></li>
										<li>
												<a class="S_txt1" href="/dialog/show">
													<i class="layui-icon layui-icon-release" style="display: inline;"></i>
													
												</a>
										</li>
									</c:otherwise>
									</c:choose>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
		</div>
		</div>
		</body>
		</html>